package com.ruoyi.course.domain.vo;

import com.ruoyi.course.domain.AcademicYear;

import java.util.List;

public class YearVo {
    private AcademicYear year;
    private List<TermVo> terms;

    public AcademicYear getYear() {
        return year;
    }

    public void setYear(AcademicYear year) {
        this.year = year;
    }

    public List<TermVo> getTerms() {
        return terms;
    }

    public void setTerms(List<TermVo> terms) {
        this.terms = terms;
    }
    @Override
    public String toString() {
        return "YearVo{" +
                "year=" + year +
                ", terms=" + terms +
                '}';
    }
}
